<template>
    <div class="main trajectory">
        <Form :model="formItem" inline :label-width="80">
            <FormItem label="搜索引擎：" >
                <Input v-model="formItem.search" size="small" placeholder="Enter something..."></Input>
            </FormItem>
            <FormItem label="关键词：" >
                <Input v-model="formItem.input" size="small" placeholder="Enter something..."></Input>
            </FormItem>
            <FormItem label="来源：" >
                <Input v-model="formItem.input" size="small" placeholder="Enter something..."></Input>
            </FormItem>
            <FormItem label="对话页面：" >
                <Input v-model="formItem.input" size="small" placeholder="Enter something..."></Input>
            </FormItem>
        </Form>
        <div class="table">
            <Table :columns="columns1" :data="data1" size="small"></Table>
        </div>
    </div>
</template>
<script>
export default {
    data () {
        return {
            formItem: {
                input: ''
            },
            columns1: [
                {
                    title: '页面标题',
                    key: 'name'
                },
                {
                    title: '访问时间',
                    key: 'age'
                },
                {
                    title: '页面URL',
                    key: 'address'
                }
            ],
            data1: [
                {
                    name: 'John Brown',
                    age: 18,
                    address: 'New York No. 1 Lake Park',
                    date: '2016-10-03'
                },
                {
                    name: 'Jim Green',
                    age: 24,
                    address: 'London No. 1 Lake ParkLake ParkLake Park',
                    date: '2016-10-01'
                },
                {
                    name: 'Joe Black',
                    age: 30,
                    address: 'Sydney No. 1 Lake Park',
                    date: '2016-10-02'
                },
                {
                    name: 'Jon Snow',
                    age: 26,
                    address: 'Ottawa No. 2 Lake Park',
                    date: '2016-10-04'
                }
            ]
        }
    }
}
</script>
<style lang="scss" scoped>
.main {
    padding-bottom: 20px;
}
</style>
